package com.rt.cms.service;

import com.rt.cms.data.entity.CompanyInfoBean;
import com.rt.cms.data.entity.TbApprovalRecord;
import com.rt.cms.data.entity.TbCompanyInfo;
import com.rt.cms.data.entity.TbCompayUploadInfo;
import com.rt.cms.data.requestParam.ArchivesParams;

import java.util.List;

public interface CompanyInfoService {

    int saveCompanyInfo(TbCompanyInfo tbCompayInfo, TbApprovalRecord tbApprovalRecord);

    int editCompanyInfo(TbCompanyInfo tbCompanyInfo, TbApprovalRecord tbApprovalRecord);

    int editCompanyBasicInfo(TbCompanyInfo tbCompanyInfo, TbApprovalRecord tbApprovalRecord);

    int saveCompanyUploadInfo(TbCompayUploadInfo tbCompayUploadInfo);

    int editCompanyUploadInfo(TbCompayUploadInfo tbCompayUploadInfo);

    List<TbCompanyInfo> getCompanyInfoByBusinessCode(String businessCode);
    //List<TbCompanyInfo> getCompanyInfo();

    CompanyInfoBean getCompanyInfoBeanById(int id);

    TbCompanyInfo getCompanyInfoById(int id);

    TbCompayUploadInfo getCompanyUploadInfoById(int id);

    List<CompanyInfoBean> getGuaranteeCompanyInfoBean(int id);

    int saveApprovalRecord(TbApprovalRecord tbApprovalRecord);

    List<TbCompanyInfo> selectByPhpParam(ArchivesParams archivesParams);

    int updateByPhpParam(ArchivesParams archivesParams);




}
